package cc.md888.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data()
@EqualsAndHashCode(callSuper = true)
public class LogicDeleteEntity extends BaseEntity{

    private static final long serialVersionUID=1L;

    /**
     * 逻辑删除标记
     */
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;


    public static final String DELETED = "deleted";

}
